home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2336 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.3 KB  |  50 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: news.shlink.de!wiloyee!chaos
  3. From: chaos@wiloyee.shnet.org
  4. Subject: Re: YASL (was: AsynchIO (was: fastest file read method ??))
  5. X-Newsreader: TIN [version 1.2 PL2]
  6. Organization: Studentenhochhaus Wedel Deutschland
  7. Message-ID: <DLxz0o.oH3@wiloyee.shnet.org>
  8. References: <w9YbsMD4ACazz9@jeff.dame.shnet.org> <w+RYXMD4FC8aRz1@_crisi.blackbox.shnet.org> <4dsalp$t68@news1.halcyon.com> <4du0ju$84b@news.sdd.hp.com> <4e2e76$9k3@toad.stack.urc.tue.nl> <4e3j8v$jd0@news.sdd.hp.com> <4e7si4$ore@tuegate.tue.nl> <4e8asc$rht@news.sdd.hp.com> <4ea4gc$mjg@btmpjg.god.bel.alcatel.be>
  9. Date: Mon, 29 Jan 1996 12:07:35 GMT
  10.  
  11. barnhoorn@nlev00 wrote:
  12.  
  13. : In article <4e8asc$rht@news.sdd.hp.com>, Jeff Grimmett <jgrimm@sdd.hp.com> writes:
  14. : |> leon@esrac.ele.tue.nl (Leon Woestenberg) wrote:
  15. : |> 
  16. : |> >A shared library is only stupid, when it isn't shared. Now of course we
  17. : |> 
  18. : |> My opinion as such differs from yours.  I have over a dozen so-called 
  19. : |> shared libraries in my LIBS: directory that are shared by ONE program, 
  20. : |> this is SHARING? What uses hyperion.library and centurion.library?  One 
  21. : |> program that I'm aware of.  If something else does, I don't have it.
  22. : |> 
  23.  
  24. : There is another advantage of using  'shared' libraries: programs
  25. : may implement parts of their code in a library, which is then loaded
  26. : into memory only when the program needs this part of the code.
  27. : When the system runs out of memory, the unused parts of the program
  28. : are flushed from memory, and reloaded again when the program needs it
  29. : again.
  30.  
  31. : |> Why do you think people are starting to make noises for uninstallers for 
  32. : |> the Amiga?  Every program they dl off of Aminet seens to have another 
  33. : |> new, strange, and enigmatic shared library that is used no where else. If 
  34. : |> Call it the "Library of the Day Club".
  35.  
  36. : The solution to this is rather easy. Programs with their own libraries
  37. : should NOT store these libraries in LIBS:, but in a subdirectory of
  38. : LIBS: or in a user-defined directory.
  39.  
  40. you can make 
  41.  
  42.    OpenLibrary("PROGDIR:my_own_strange.lib",0)
  43.  
  44. and put it in your programms directory.
  45. you can also first try to open from home path and then from LIBS:, this will
  46. allow the user to put the libary to LIBS just in case another programm needs
  47. it.
  48.  
  49. dierk "chaos" ohlerich
  50.